package com.office.service;

import com.office.bean.TClass;
import com.office.bean.TStudent;
import com.office.mapper.StudentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class StudnentServiceimpl implements StudentService{
    @Autowired
    StudentMapper studentMapper;
    @Override
    public int findallcount(Map<String, Object> map) {
        return studentMapper.findallcount(map);
    }

    @Override
    public List<TStudent> findstudentbypage(Map<String, Object> map) {
        return studentMapper.findstudentbypage(map);
    }

    @Override
    public List<TClass> findclass() {
        return studentMapper.findclass();
    }

    @Override
    public List<TStudent> exportexcell(Map<String, Object> map) {
        return studentMapper.exportexcell(map);
    }
}
